<template lang="pug">
  kalix-dialog.user-add(title='查看' bizKey="CourseName" ref="kalixBizDialog" v-bind:formModel.sync="formModel" isView)
    div.el-form(slot="dialogFormSlot")
      el-form-item(label="课程" prop="name" v-bind:label-width="labelWidth" )
        el-input(v-model="formModel.name" readonly)
</template>

<script type="text/ecmascript-6">
  import FormModel from './model'
  export default {
    name: 'courseNameView',
    data() {
      return {
        formModel: Object.assign({}, FormModel),
        labelWidth: '120px'
      }
    }
  }
</script>

<style scoped lang="stylus" type="text/stylus">

</style>
